package cn.wolfcode.crm.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

@Controller
public class IndexController {
    @RequestMapping("index")
    public String index() {
        return "index";
    }
    @RequestMapping("login")
    public String login(Map map, HttpServletRequest request){
        return "forward:login.jsp";
    }
}
